<%@ page contentType="text/html" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich" %>
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="aj4" %>


	<f:view>
	  <html>
	    <head><title>jsf h:form example</title></head>
   		 <body>
   		 
   		 
		<rich:panel style="width:300;">
			<f:facet name="header">
				<h:outputLabel value="Digite seu login e senha" id="lblLoginPanel" />
			</f:facet>
		<h:panelGroup>
 					<h:form>
				      <h:panelGrid columns="2">
	    				<h:outputText value="Login" id="lblLogin" />
						<h:inputText value="#{uilogincontrol.login}" id="txtLogin" />
						<h:outputText value="Senha" id="lblPassword" />
						<h:inputSecret value="#{uilogincontrol.password}" id="txtPassword" />
						<h:commandButton value="Login" action="#{uilogincontrol.getLoginResult}" actionListener="#{uilogincontrol.makeLogin}"/>
       				  </h:panelGrid>
					</h:form>
      </h:panelGroup>
      		</rich:panel>
	    </body>
	  </html>
	</f:view>
	
		  